QuickTime Music Architecture

| Previous | Chapter Contents | Chapter Top | Next |

MIDI File Import Flags

These flags control the importation of MIDI files.

enum {
    kMIDIImportSilenceBefore = 1 << 0,
    kMIDIImportSilenceAfter = 1 << 1,
    kMIDIImport20Playable = 1 << 2,
    kMIDIImportWantLyrics = 1 << 3
};

Constant descriptions

kMIDIImportSilenceBefore
Specifies to add one second of silence before the first note.

kMIDIImportSilenceAfter
Specifies to add one second of silence after the last note.

kMIDIImport20Playable
Specifies to import only MIDI data that can be used with QuickTime 2.0. The imported data does not include program changes and has at most 32 parts.

kMIDIImportWantLyrics
Specifies to import karaoke lyrics as a text track.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |